package com.dzsw.satoken.conf;

import cn.dev33.satoken.jwt.StpLogicJwtForStateless;
import cn.dev33.satoken.stp.StpLogic;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SaTokenConf {

        // Sa-Token 整合 jwt (Style模式)
        @Bean
        public StpLogic getStpLogicJwt() {
            return new StpLogicJwtForStateless();
        }
}
